package com.qys.livesMall.anchor.model.vo.task.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qys.livesMall.anchor.model.vo.task.app.child.SellLivesChild;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class AppSellLivesApplyDetailVO {

    @Schema(description = "主播名字")
    private String anchorName;

    @Schema(description = "主播用户昵称")
    private String nickName;

    @Schema(description = "直播场次名称")
    private String livesSessionName;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "任务名称（不超过36字符）")
    private String taskName;

    @Schema(description = "申请开播时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+0")
    private LocalDate startLivesTime;

    @Schema(description = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime applyTime;

    @Schema(description = "任务开播状态 -1:未申请  0：审核中  1：审核未通过  2:审核通过")
    private Byte livesStatus;

    @Schema(description = "直播任务状态  2：可申请结算 3：等待平台结算 4：已结算")
    private Byte taskStatus;
    @Schema(description = "平台结算状态（0：用户已确认，1：平台结算完成（达标结算）2：未达标结算完成）")
    private Integer platformSettlement;
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "任务开始时间（当前时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+0")
    private LocalDate taskStartTime;

    @Schema(description = "任务结束时间（开始时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+0")
    private LocalDate taskEndTime;

    @Schema(description = "带货商品列表")
    private List<SellLivesChild> goodsChildList;

}
